#!/bin/bash
for i in hadoop102 hadoop103; do
    echo "========== $i =========="
    ssh $i "cd /opt/module/applog/; java -jar mock_log_data.jar >/dev/null 2>&1 &"
done

